package com.qf.agro.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qf.agro.common.ResultInfo;
import com.qf.agro.pojo.SysUser;

/**
 * ProjectName: smart-agriculture-parent
 * ClassName: Service
 * Author: chenyaosen
 * Date: 2023/6/29 16:23
 * Description:
 */
public interface SysUserService {

    ResultInfo login(String username,String password);

    Page<SysUser> findPage(Integer pageNum,Integer pageSize,String name);

    void save(SysUser sysUser);

    Boolean checkUsername(String username);

    void disabled(Long id);

    void update(SysUser sysUser);
}
